<?php

namespace App\Http\Logic\Admin;

use App;
use App\Helper\Helper;
use App\Models\Resources;

class UploadLogic
{
    /**
     * @param $path
     * @return mixed
     */
    public static function createRes($path)
    {
        $params['path']       = $path;
        $params['created_at'] = time();
        return Resources::insertGetId($params);
    }

}
